package com.maolong.entity.enumm;
import com.baomidou.mybatisplus.annotation.IEnum;

public enum IdentityEnum implements IEnum<Integer> {
    MANGER(1, "管理员"),
    WORKER(2,"工作人员"),
    USER(3, "普通用户");

    private Integer code;
    private String desc;
    IdentityEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    @Override
    public Integer getValue() {
        return code;
    }
}
